<?php

$this->extend('/Common/admin_edit');

$this->Html
	->addCrumb('', '/admin', array('icon' => 'home'))
	->addCrumb(__d('croogo','Countries'), array('plugin' => 'countries', 'controller' => 'countries', 'action' => 'index'))
	->addCrumb(__d('croogo','Provinces'),$this->here);

if ($this->request->params['action'] == 'admin_edit') {
	$this->Html->addCrumb($this->data['Province']['name'], array(
		'plugin' => 'countries', 'controller' => 'provinces', 'action' => 'edit',
		$this->params['pass'][0]
	));
}

if ($this->request->params['action'] == 'admin_add') {
	$this->Html->addCrumb(__('Add'), $this->here);
}

?>